package com.mall.huohuo.service.member.domain;

import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author zycoding
 * @version AuthParam.java, v 0.1 2020-08-07 16:23 zycoding
 */
@Data
@Accessors(chain = true)
@RequiredArgsConstructor
public class Member {
    private Long memberId;
    private String avatar;
    private String nickname;
    private String username;
    private String levelId;
    private String agentcode;
    private String mobile;

    /**
     * 总的收益
     */
    private BigDecimal totalReward;
    /**
     * 我的佣金
     */
    private BigDecimal reward;
    /**
     * 我的积分
     */
    private Integer credit;
}
